package com.lanswon.qzsmk.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.lanswon.qzsmk.model.CooperationCompany;
@Repository
public interface CooperationCompanyMapper {
	
	/**
	 * 根据合作商类型查询合作商
	 * @param companyType 合作商类型
	 * @return
	 */
	List<CooperationCompany> queryCooperationCompanyByType(String companyType);
	
	/**
	 * 根据合作商的单位编号查询合作商
	 * @param companyNo
	 * @return
	 */
	CooperationCompany queryCooperationCompanyByCompanyNo(String companyNo);
	
	/**
	 * 根据合作商的单位名称查询合作商
	 * @param companyNo
	 * @return
	 */
	CooperationCompany queryCooperationCompanyByCompanyName(String companyName);
/**
	 * 根据合作商的单位编号列表查询合作商
	 * @param companyNo
	 * @return
	 */
	List<CooperationCompany> queryCooperationCompanyByCompanyNoList(@Param("companyNoList")List<String> companyNoList);
}